<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($head_tittle); ?></title>
<link href="/my/sharkcms/Public/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/style.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/index.css" rel="stylesheet" type="text/css" />
<script src="/my/sharkcms/Public/js/jquery.js"></script>
<script src="/my/sharkcms/Public/home/js/view.js"></script>
<title><?php echo ($pageconfig["tittle"]); ?></title>
<script>
$(document).ready(function(){
	//退出登录页面
   $('.outlogin').click(function(){                   
      var url="<?php echo U('Public/outlogin');?>";
      $.post(url,function(data){
	     $(".logininfor").html('<a href="<?php echo U("Index/login");?>" style=" color:#B61D1D;">&nbsp;您好，&nbsp;&nbsp;请登录</a>&nbsp;&nbsp;<a href="<?php echo U("Index/reg");?>">免费注册</a>');
	  });
	  return false;

   });
   $(".head_line2_wrap_li1").click(function(){
	  	  var url="<?php echo U('index');?>";
	  	  window.location.href=url;
   });
});
</script>

</head>

<body>
<div class="header">
   <div class="head_line1_wrap" align="center">
      <div class="head_line_center" >
	       <div class="fl">欢迎访问霞客系统</div>
		   <div class="fr logininfor">
		   	<?php if(session('uid')): ?><a href="<?php echo U("User/index");?>" class="loginname"><?php echo getUserName(session('uid'));?></a>&nbsp;&nbsp;<a href="#" class="outlogin">[退出]</a>
               <?php else: ?>
                  <a href="<?php echo U('Index/login');?>" style=" color:#B61D1D;">&nbsp;您好，&nbsp;&nbsp;请登录</a>&nbsp;&nbsp;<a href="<?php echo U('Index/reg');?>">免费注册</a><?php endif; ?>
		   </div>
	  </div>
	</div>
	<div class="head_line2_wrap" align="center">
      <div class="head_line_center" >
          <div class="head_line2_wrap_li1" style="cursor:pointer"></div> 
		  <div class="head_line2_wrap_li2">
		        <div class="fl"><input type="text" class="head_line2_wrap_li2_input" /></div>
				<div class="fr"><input type="submit" value="搜索" class="head_line2_wrap_li2_submit" /></div>
				<div class="clear"></div>
		  </div>
		  <div class="head_line2_wrap_li3">
		        <div class="head_line2_wrap_li3_l" onclick="window.location.href='<?php echo U(shop);?>'">购物车<?php echo count($_SESSION['shop']);?></div>
				<div class="head_line2_wrap_li3_r">去结算</div>
		  </div>  
	  </div>
	</div>
	<div class="head_line3_wrap" align="center">
	     <div class="head_line_center" >
		      <div class="head_line3_l">商品分类导航</div>
<style>
.xiake li{ font-family:"microsoft yahei"; font-size:15px; cursor:pointer;}
.xiake li a{ display:block;}
.xiake li .focus{color:#B1191A;font-weight: bold;}
</style>			  
			  <ul class="fl xiake">
			      <li><a href="<?php echo U('Index/index');?>" <?php if(I('name') == null): ?>class="focus"<?php endif; ?>>首页</a></li> 
			      <li>
			          <a href="<?php echo U('Index/goodsList',array('lid'=>10,'name'=>'jiadian'));?>" <?php if(I('name') == jiadian): ?>class="focus"<?php endif; ?> >
			               家用电器
			          </a>
			      </li> 
			      <li>
			           <a href="<?php echo U('Index/goodsList',array('lid'=>12,'name'=>'jiaju'));?>" <?php if(I('name') == jiaju): ?>class="focus"<?php endif; ?> >
			               家居家纺
			           </a>
			      </li>
			      <li>
				      <a href="<?php echo U('Index/goodsList',array('lid'=>13,'name'=>'fuzhuang'));?>" <?php if(I('name') == fuzhuang): ?>class="focus"<?php endif; ?> >
				           服装箱包
				      </a>
			      </li>
			      <li>
				      <a href="<?php echo U('Index/goodsList',array('lid'=>14,'name'=>'huazhuang'));?>" <?php if(I('name') == huazhuang): ?>class="focus"<?php endif; ?> >
				           个护化妆
				      </a>
			      </li>
			      <li>
			          <a href="<?php echo U('Index/goodsList',array('lid'=>21,'name'=>'wenhua'));?>" <?php if(I('name') == wenhua): ?>class="focus"<?php endif; ?> >
			                书籍文化
			          </a>
			      </li>
<!-- 			      <li><a href="">顾客留言</a></li> -->
			      <li><a href="<?php echo U('User/index');?>" >会员中心</a></li>
			  </ul>
		 </div>
	</div>
	
</div>


<div class="main">
    <div class="slide none">
   <ul>
   	<?php if(is_array($classl)): $i = 0; $__LIST__ = $classl;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$volist): $mod = ($i % 2 );++$i;?><li>
	        <div class="slide_li">
            <a href="<?php echo U('Index/goodslist',array('lid'=>$volist['classl_id']));?>">
              <?php echo ($volist["classl_name"]); ?>
            </a>
          </div>
			<dl class="yu">
			 <?php if(is_array($volist['classm'])): $k = 0; $__LIST__ = $volist['classm'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$mlist): $mod = ($k % 2 );++$k;?><dt style="clear:both">
              <a href="<?php echo U('Index/goodslist',array('mid'=>$mlist['classm_id']));?>">
                   <?php echo ($mlist["classm_name"]); ?>
              </a>
              <span class="money">&nbsp;></span>
         </dt>
			   <dd>
			       <ul>
				      <?php if(is_array($volist['classm'][$k-1]['classs'])): $i = 0; $__LIST__ = $volist['classm'][$k-1]['classs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$classs): $mod = ($i % 2 );++$i;?><li>
                            <a href="<?php echo U('Index/goodslist',array('sid'=>$classs['classs_id']));?>">
                                 <?php echo ($classs["classs_name"]); ?>&nbsp;&nbsp;|
                            </a>
                         </li><?php endforeach; endif; else: echo "" ;endif; ?>
				      
				   </ul>
			   </dd>
			   <dd class="clear"></dd><?php endforeach; endif; else: echo "" ;endif; ?>

	   </li><?php endforeach; endif; else: echo "" ;endif; ?>

       


   </ul>
</div>
<script>
$(document).ready(function(){
  var action_name="<?php echo ACTION_NAME;?>";
  if(action_name=='index'){
       $(".slide").show();
  }else{
       $(".head_line3_l").hover(function(){
            $(".slide").show();
       },function(){
            $(".slide").hover(function(){
                $(".slide").show();
            },function(){
                $(".slide").hide();
            });
            $(".slide").hide();
       });
  }
  $('.slide_li').mouseover(function(){
    $(this).css({"background":"#fff","color":"#c81622","border-right":"#fff solid 1px"});
    $(this).find("a").css({"color":"#c81622"});
    $(this).parent().find("dl").css({"visibility":"visible"});
  });
  $('.slide_li').mouseleave(function(){
    $(this).css({"background":"#c81622","color":"#fff","border-right":"#c81622 1px solid"});
    $(this).find("a").css({"color":"#fff"});
    $(this).parent().find("dl").css({"visibility":"hidden"});
  });
  $('dl').mouseover(function(){
    $(this).css({"visibility":"visible"});
    $(this).parent().find(".slide_li").css({"background":"#fff","color":"#c81622","border-right":"#fff solid 1px"});
    $(this).parent().find(".slide_li a").css({"color":"#c81622"});

  });
  $('dl').mouseleave(function(){
    $(this).css({"visibility":"hidden"});
    $(this).parent().find(".slide_li").css({"border":"none","background":"#c81622","color":"#fff",});
    $(this).parent().find(".slide_li a").css({"color":"#fff"});
  });
  

});
</script>
	<div class="index_banner">
	
	  <div class="index_banner_wrap ">
	      <script src="/my/sharkcms/Public/home/js/jquery-finger-v0.1.0.min.js" type="text/javascript"></script>
         <link href="/my/sharkcms/Public/home/css/flickerplate.css"  type="text/css" rel="stylesheet">
		  <script>
				$(document).ready(function(){
					
					$('.flicker-example').flicker();
				});
		  </script>
	        <div class="flicker-example" data-block-text="false">
			  <ul>
			    <li data-background="/my/sharkcms/Public/home/images/banner1.jpg">
			      
			    </li>
			    <li data-background="/my/sharkcms/Public/home/images/banner2.jpg">
			      
			    </li>
			    <li data-background="/my/sharkcms/Public/home/images/banner3.jpg">
			     
			    </li>
			    <li data-background="/my/sharkcms/Public/home/images/banner4.jpg">
			     
			    </li>
			  </ul>
			</div>
	   </div>
	</div>
	<div class="fl report_wrap">
            <div id="head">
               <span class="fl f18 yahei">霞客快报</span>
               <span class="fr">更多></span>
            </div>
            <?php if(is_array($arlist)): $i = 0; $__LIST__ = $arlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$arlist): $mod = ($i % 2 );++$i;?><div class="line">
	               <span class="fwb fl">[公告]&nbsp;&nbsp;</span>
	               <span class="ellipsis fl" style="width:140px">
	                  <a href="<?php echo U('Article/articleDetail',array('id'=>$arlist['ar_id']));?>"><?php echo ($arlist['ar_tittle']); ?></a>
	               </span>
	            </div><?php endforeach; endif; else: echo "" ;endif; ?>
            
	</div>
	<div class="clear"></div>
	<div class="index_showline1wrap">
		<?php if(is_array($show_classl)): $k = 0; $__LIST__ = $show_classl;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$volist): $mod = ($k % 2 );++$k;?><div class="index_showline1">
	     	<span class="fl span_icon"><?php echo ($k); ?>F</span>
	     	<span class="span_tittle yahei fl">&nbsp;&nbsp;<?php echo ($volist["classl_name"]); ?></span>
	     	<div class="fr">
	           <?php if(is_array($volist['m_class'])): $i = 0; $__LIST__ = $volist['m_class'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$mlcass): $mod = ($i % 2 );++$i;?><a href="#" class="fl" style="color:#c81623;">
	                  <?php echo ($mlcass["classm_name"]); ?> &nbsp;&nbsp;|&nbsp;&nbsp;
	               </a><?php endforeach; endif; else: echo "" ;endif; ?>
	     	</div>
	     </div>
		 <div class="index_showline2">
		     <ul>
			     <li>
		             <div class="index_showline2_box ">
					       <div class="index_showline2_box_line1 fl">
						        <a href="">
						        	<?php if($volist['classl_img'] != NULL): ?><img src="/my/sharkcms<?php echo ($volist['classl_img']); ?>" />
                                         <?php else: ?>
                                            <img src="/my/sharkcms/Public/home/images/classl_banner/default.jpg" /><?php endif; ?>
								       
								</a>
						   </div>
						   <div class="fl index_showline2_good_wrap">
                                <?php if(is_array($volist['goods'])): $i = 0; $__LIST__ = $volist['goods'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$good): $mod = ($i % 2 );++$i;?><div class="index_showline2_good_cell fl">
                                   	  <div  class="relative">
                                   	  	<div class="go_info_bottom"></div>
                                   	  	 <div class="absolute go_info">
                                             <span class="fl">&nbsp;&nbsp;<?php echo ($good["go_name"]); ?></span>
                                             <span class="fr money">&nbsp;&nbsp;￥<?php echo ($good["go_value"]); ?></span>
                                   	  	 </div>
                                   	  	 <a href="<?php echo U('Index/detail',array("id"=>$good['go_id']));?>" />
                                         <img src="<?php echo ($good["go_pics"]); ?>" width="155px" height="150px"/>
                                     </a>
                                         
                                   	  </div>
                                   </div><?php endforeach; endif; else: echo "" ;endif; ?>
                                
						   </div>
						   <div class="clear"></div>
					 </div>
			     </li>
			 </ul>
		 </div>
		 <div class="clear"></div><?php endforeach; endif; else: echo "" ;endif; ?>
		 <div class="clear"></div>
		 <div class="index_showline3"><?php echo ($page); ?></div>
	</div>
</div>
<div class="clear"></div>
<div class="foot">
   <div class="foot_title">
   	    <div class="foot_main foot_titleli">
   	    	  <ul>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">霞</span>
   	    	  	   	   <span class="foottitle">品质保证不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">客</span>
   	    	  	   	   <span class="foottitle">物超所值不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">网</span>
   	    	  	   	   <span class="foottitle">无理由退货不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">络</span>
   	    	  	   	   <span class="foottitle">不错不错不错不错</span>
   	    	  	   </li>
   	    	  </ul>
   	    </div>
   </div>
   <div style="background:#fff;">
    	<div class="foot_main foot_wrap">
    	      <ul>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      </ul>
    	</div>
    </div>
    <div class="clear"></div>
    <div>
    	<div class="foot_main" align="center" style="height:50px; line-height:50px;">
    		Copyright © 2016-2025 霞客网络 版权所有 保留一切权利 备案号:闽00-785356985号
    	</div>
    </div>

</div>
</body>
</html>


</body>
</html>